package com.gopay.common.domain.rims;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.SequenceGenerator;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;

import com.gopay.common.domain.BaseEntity;

/**
 * TMS风控识别交易日志表
 * 
 * @RimsTmsEvaluateLog.java
 * @author MA HUAN
 * @2014-11-24 下午7:54:14 www.gopay.com.cn Inc.All rights reserved.
 */
@Entity
@Table(name = "RIMS_TMS_EVALUATE_LOG")
public class RimsTmsEvaluateLog extends BaseEntity {

    /**
     * 
     */
    private static final long serialVersionUID = -4696099676493596594L;

    @Id
    @SequenceGenerator(name = "RimsTmsEvaluateLogSequence", sequenceName = "RIMS_TMS_EVALUATE_LOG_SEQ")
    @GeneratedValue(generator = "RimsTmsEvaluateLogSequence", strategy = GenerationType.SEQUENCE)
    @Column(name = "RIMS_SEQ", unique = true, nullable = false, precision = 22, scale = 0)
    private long rimsSeq;

    @Column(name = "RIMS_CUST_NO")
    private String rimsCustNo;

    @Column(name = "RIMS_TRAN_CODE")
    private String rimsTranCode;

    @Column(name = "RIMS_TRAN_ORDER")
    private String rimsTranOrder;

    @Column(name = "RIMS_TRAN_TIME")
    @Temporal(TemporalType.TIMESTAMP)
    private Date rimsTranTime;

    @Column(name = "RIMS_TRAN_DISPOSAL")
    private String rimsTranDisposal;

    @Column(name = "RIMS_TRAN_RESULT")
    private String rimsTranResult;

    /**
     * 风控交易结果（被风控的交易最终处理结果，00-失败，01-成功，02-进行中）
     */
    @Column(name = "RIMS_STATUS")
    private String rimsStatus;

    @Column(name = "RIMS_POST_TIME")
    @Temporal(TemporalType.TIMESTAMP)
    private Date rimsPostTime;

    @Column(name = "RIMS_LAST_CONFIRM_TIME")
    @Temporal(TemporalType.TIMESTAMP)
    private Date rimsLastConfirmTime;

    @Column(name = "RIMS_CONFIRM_COUNT")
    private int rimsConfirmCount;

    @Column(name = "RIMS_REQ_PARAM")
    private String rimsReqParam;

    @Column(name = "RIMS_RES_PARAM")
    private String rimsResParam;

    public long getRimsSeq() {
        return rimsSeq;
    }

    public void setRimsSeq(long rimsSeq) {
        this.rimsSeq = rimsSeq;
    }

    public String getRimsCustNo() {
        return rimsCustNo;
    }

    public void setRimsCustNo(String rimsCustNo) {
        this.rimsCustNo = rimsCustNo;
    }

    public String getRimsTranCode() {
        return rimsTranCode;
    }

    public void setRimsTranCode(String rimsTranCode) {
        this.rimsTranCode = rimsTranCode;
    }

    public String getRimsTranOrder() {
        return rimsTranOrder;
    }

    public void setRimsTranOrder(String rimsTranOrder) {
        this.rimsTranOrder = rimsTranOrder;
    }

    public Date getRimsTranTime() {
        return rimsTranTime;
    }

    public void setRimsTranTime(Date rimsTranTime) {
        this.rimsTranTime = rimsTranTime;
    }

    public String getRimsTranDisposal() {
        return rimsTranDisposal;
    }

    public void setRimsTranDisposal(String rimsTranDisposal) {
        this.rimsTranDisposal = rimsTranDisposal;
    }

    public String getRimsTranResult() {
        return rimsTranResult;
    }

    public void setRimsTranResult(String rimsTranResult) {
        this.rimsTranResult = rimsTranResult;
    }

    public String getRimsStatus() {
        return rimsStatus;
    }

    public void setRimsStatus(String rimsStatus) {
        this.rimsStatus = rimsStatus;
    }

    public Date getRimsPostTime() {
        return rimsPostTime;
    }

    public void setRimsPostTime(Date rimsPostTime) {
        this.rimsPostTime = rimsPostTime;
    }

    public String getRimsReqParam() {
        return rimsReqParam;
    }

    public void setRimsReqParam(String rimsReqParam) {
        this.rimsReqParam = rimsReqParam;
    }

    public String getRimsResParam() {
        return rimsResParam;
    }

    public void setRimsResParam(String rimsResParam) {
        this.rimsResParam = rimsResParam;
    }

    public Date getRimsLastConfirmTime() {
        return rimsLastConfirmTime;
    }

    public void setRimsLastConfirmTime(Date rimsLastConfirmTime) {
        this.rimsLastConfirmTime = rimsLastConfirmTime;
    }

    public int getRimsConfirmCount() {
        return rimsConfirmCount;
    }

    public void setRimsConfirmCount(int rimsConfirmCount) {
        this.rimsConfirmCount = rimsConfirmCount;
    }

}
